<?
if (!defined("_P2_")) exit; // 개별 페이지 접근 불가

//---------------------------------------------------
// 관리자 여부 확인
//---------------------------------------------------



//---------------------------------------------------
// 작업모드에 따라 실행파일 분기
//---------------------------------------------------
/*
admin/

admin/node/page/NUMBER
admin/node/delete
admin/node/subscribe
admin/node/comment/delete
admin/node/comment/subscribe

admin/categories
admin/categories/add
admin/categories/delete/NUMBER
admin/categories/edit/NUMBER
admin/categories/update/NUMBER

admin/region
admin/region/add
admin/region/delete/NUMBER
admin/region/edit/NUMBER
admin/region/update/NUMBER

admin/campaign
admin/campaign/add
admin/campaign/delete/NUMBER
admin/campaign/close/NUMBER
admin/campaign/edit/NUMBER
admin/campaign/update/NUMBER

admin/setting
admin/setting/update
admin/setting/node
admin/setting/node/update
admin/setting/theme
admin/setting/theme/update

admin/mailing
admin/mailing/NUMBER
admin/mailing/add
admin/mailing/send/NUMBER
admin/mailing/delete/NUMBER
admin/mailing/edit/NUMBER
admin/mailing/update/NUMBER

admin/member
admin/member/add
admin/member/subscribe/NUMBER
admin/member/delete/NUMBER
admin/member/edit/NUMBER
admin/member/update/NUMBER
admin/member/form
admin/member/form/update
admin/member/group
admin/member/group/add
admin/member/group/delete/NUMBER
admin/member/group/edit/NUMBER
admin/member/group/update/NUMBER

admin/log
admin/log/node/NUMBER
admin/log/referer/NUMBER
admin/log/keyword/NUMBER
admin/log/keyword/page/NUMBER
admin/log/rank/
admin/log/rank/node
admin/log/rank/member
admin/log/rank/link
admin/log/rank/file
admin/log/error/NUMBER
*/
if (!$p2[1]) $p2[1] = "index";
include DIR_APP . "/" . $p2[0] . ".". $p2[1] . ".php";    

?>